# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=distrobox
pkgver=1.7.2.0
pkgrel=0
pkgdesc="Use any Linux distribution inside your terminal"
url="https://distrobox.privatedns.org/"
# s390x blocked by podman
arch="noarch !s390x"
license="GPL-3.0-only"
depends="podman"
subpackages="$pkgname-doc $pkgname-bash-completion"
source="$pkgname-$pkgver.tar.gz::https://github.com/89luca89/distrobox/archive/refs/tags/$pkgver.tar.gz"
install="$pkgname.post-upgrade"
options="!check" # No tests

package() {
	./install --prefix "$pkgdir"/usr

	install -dm0755 "$pkgdir"/usr/share/doc/distrobox
	install -m 0644 docs/*.md "$pkgdir"/usr/share/doc/distrobox
}

sha512sums="
ae5c9ef7ee63beec6b99488091cdb5bc73dfb219988a71c624af2278ea2efc775895ae2106c6bc35783a317b5b3e92fceed2fdba5be05f94028d28a7a2fb8ce1  distrobox-1.7.2.0.tar.gz
"
